﻿using System;

namespace EFCore.Dbfirst
{
    internal class Program
    {
        /// <summary>
        /// 1.先引入程序包
        /// Microsoft.EntityFrameworkCore
        /// Microsoft.EntityFrameworkCore.Design
        /// Microsoft.EntityFrameworkCore.SqlServer
        /// Microsoft.EntityFrameworkCore.SqlServer.Design
        /// Microsoft.EntityFrameworkCore.Tools
        /// 2.在程序包控制台执行：Scaffold-DbContext -Connection "Server=.;Database=demo;uid=sa;pwd=123456" Microsoft.EntityFrameworkCore.SqlServer -OutputDir "Models"
        ///
        ///
        /// </summary>
        /// <param name="args"></param>
        private static void Main(string[] args)
        {
            Console.WriteLine("Hello World!");
        }
    }
}